@echo off
@cd /d %~dp0
if exist "pyenv\ark-script" (
    echo Python environment is ready.
) else (
    echo Create virtual environment.
    python -m venv pyenv\ark-script
    call pyenv\ark-script\Scripts\activate.bat
    echo Install dependent libraries.
    pip install numpy==1.19.0 pyautogui opencv-python
    echo Finished.
)
pause